﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Campus.Main.Basic.InsertValues
{
    public partial class Nation : Default
    {
        public Nation():base()
        {
            InitializeComponent();
        }

        public Nation(List<string> aList):base(aList)
        {
            InitializeComponent();
            id = aList[0];
            textBox1.Text = aList[1];
        }


        protected override void button1_Click(object sender, EventArgs e)
        {
            aToDb.UpdateTable("nation","description",textBox1.Text,id);
            Close();
        }
    }
}
